Skip to main content

Get Drivers Metrics

GET /tms/drivers/metrics

Description

This endpoint retrieves metrics for assigned and unassigned drivers. It provides insights into driver availability and other related metrics based on the provided tenant ID and country code.

Parameters

  • tenantId (string, header, required): The ID of the tenant.
  • countryCode (string, header, required): The code representing the country.

Responses

  • 200 OK

    • Media type: Controls Accept header.
    • Example Value:
    {
    "status": true,
    "statusCode": 0,
    "message": "string",
    "data": {},
    "errors": [
    {
    "message": "string",
    "descriptiveMessage": "string"
    }
    ]
    }

#### 400 Bad Request

Description: Invalid request.
#### 404 Not Found

Description: Resource not found.

LANGUAGE

AUTHORIZATION

Bearer

CURL REQUEST


curl --request GET \ 
--url /tms/drivers/metrics \
--header 'accept: application/json' \
--header 'content-type: application/json'

RESPONSE


Click Try It! to start a request and see the response here!